package com.yc.cloud.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author 杨智杰
 * @since 2021/9/2 10:46
 */
@Data
@Accessors(chain = true)
@ApiModel("文件下载数据模型")
public class Download {

    @ApiModelProperty("文件桶")
    private String bucket;

    @NotBlank
    @ApiModelProperty(value = "文件名", required = true)
    private String fileName;

}
